package com.test.ssm.service.impl;

import com.test.ssm.dao.GameDao;
import com.test.ssm.pojo.Game;
import com.test.ssm.service.GameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GameServiceImpl implements GameService {

    @Autowired
    private GameDao gameDao;

    @Override
    public List<Game> getAllGame() {
        return gameDao.getGameList();
    }
}
